back · tests/capture.spec.ts:65:2 @ renovate/maplibre-gl-6.x all / Camera
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: locator.click: Test ended.
Call log:
- waiting for getByTestId('goto-home')
- waiting for "http://localhost:4173/" navigation to finish...
at goHome (tests/utils/navigation.js:22:38)
at newSession (tests/utils/sessions.js:28:8)
at tests/capture.spec.ts:53:9
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: locator.click: Test ended.
Call log:
- waiting for getByTestId('goto-home')
- waiting for "http://localhost:4173/" navigation to finish...
at goHome (tests/utils/navigation.js:22:38)
at newSession (tests/utils/sessions.js:28:8)
at tests/capture.spec.ts:53:9
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:4173/", waiting until "load"
at Object.forEachTest (tests/fixtures/foreachtest.ts:135:14)
Error: locator.click: Test ended.
Call log:
- waiting for getByTestId('goto-home')
- waiting for "http://localhost:4173/" navigation to finish...
at goHome (tests/utils/navigation.js:22:38)
at newSession (tests/utils/sessions.js:28:8)
at tests/capture.spec.ts:53:9
Error: route.fetch: connect ECONNREFUSED ::1:4173
Call log:
- → GET http://localhost:4173/
- user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.34 Safari/537.36
- accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- accept-encoding: gzip,deflate,br
- accept-language: fr-FR
- upgrade-insecure-requests: 1
- sec-ch-ua: "Not=A?Brand";v="99", "HeadlessChrome";v="151", "Chromium";v="151"
- sec-ch-ua-mobile: ?0
- sec-ch-ua-platform: "Windows"
at route.fetch: connect ECONNREFUSED ::1:4173
at tests/fixtures/foreachtest.ts:54:32
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
38680 pixels (ratio 0.99 of all image pixels) are different.
Call log:
- Expect "soft toHaveScreenshot" with timeout 5000ms
- verifying given screenshot expectation
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/03ac1266-0a73-4554-ba87-b4ac52b1db51"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 38680 pixels (ratio 0.99 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for getByTestId('observations-area').getByRole('article').filter({ has: getByRole('heading', { name: '' }) }).first().locator('img')
- locator resolved to <img alt="IMG_0001.PNG" class="svelte-pa7bo1" src="blob:http://localhost:4173/03ac1266-0a73-4554-ba87-b4ac52b1db51"/>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 38680 pixels (ratio 0.99 of all image pixels) are different.
at tests/capture.spec.ts:83:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:82:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:25:64)
at tests/capture.spec.ts:73:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:76:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
5 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toHaveText(expected) failed
Locator: getByTestId('floating-messages')
Expected: "Import: 1/2 (50%)"
Timeout: 10000ms
Error: element(s) not found
Call log:
- Expect "soft toHaveText" with timeout 10000ms
- waiting for getByTestId('floating-messages')
4 × locator resolved to <section pw-testid="floating-messages" class="floating-messages svelte-p4evm4">…</section>
- unexpected value ""
at tests/capture.spec.ts:62:55
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
Expected: visible
Timeout: 5000ms
Error: element(s) not found
Call log:
- Expect "soft toBeVisible" with timeout 5000ms
- waiting for getByRole('button', { name: 'Voir les 2 photos prises', exact: true })
at expectPhotoCount (tests/capture.spec.ts:41:65)
at tests/capture.spec.ts:59:3
Error: expect(locator).toHaveCount(expected) failed
Locator: getByTestId('observations-area').getByRole('article')
Expected: 2
Received: 1
Timeout: 5000ms
Call log:
- Expect "soft toHaveCount" with timeout 5000ms
- waiting for getByTestId('observations-area').getByRole('article')
14 × locator resolved to 1 element
- unexpected value "1"
at tests/capture.spec.ts:68:40